Auto merge of #2578 - alexcrichton:test-doc, r=brson
authorbors <bors@rust-lang.org>
Thu, 21 Apr 2016 17:40:42 +0000 (10:40 -0700)
committerbors <bors@rust-lang.org>
Thu, 21 Apr 2016 17:40:42 +0000 (10:40 -0700)
commit09c08874af1e8fa94b6463ead07ad46ee37d946e
tree7a9c94e907b0bd7a2cf233c8bc0f96eb63383ebf
parentb462d50a44776d86de9dcc43a7a52e82c138a09c
parenta63c6421e370c77a70f56ad3a2a9f097f5cad219
Auto merge of #2578 - alexcrichton:test-doc, r=brson

Add `cargo test --doc`

Supports testing only the documentation (like `--lib`, `--bin`, etc).